T
CSharpTest.Net
Sort<T>(T[],Comparison<T>) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > MergeSort Class > Sort Method : Sort<T>(T[],Comparison<T>) Method

list
compare

Glossary Item Box

Sorts the contents of the array using a stable merge-sort with O(n) additional memory

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Sort(Of T)( _
   ByVal list() As T, _
   ByVal compare As Comparison(Of T) _
) 
C# 
public static void Sort<T>( 
   T[] list,
   Comparison<T> compare
)

Parameters

list
compare

Type Parameters

T

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys